package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 业务经营报表
 * </p>
 *
 * @author Generator
 * @since 2025-02-20
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_manage_report")
@ApiModel(value = "CgnciManageReportDO对象", description = "业务经营报表")
public class CgnciManageReportDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("业务经营报表主键")
    @TableId(value = "manage_id", type = IdType.ASSIGN_ID)
    private Long manageId;

    @ApiModelProperty("报表ID")
    private Long registerId;

    @ApiModelProperty("保单ID")
    private Long insuranceId;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("项目编号")
    private String projectNo;

    @ApiModelProperty("业务年度")
    private String businessYear;

    @ApiModelProperty("险种")
    private String riskSubType;

    @ApiModelProperty("险种编码")
    private String riskSubTypeCode;

    @ApiModelProperty("保额")
    private BigDecimal maxCompensation;

    @ApiModelProperty("保费(含税)")
    private BigDecimal premiumInclTax;

    @ApiModelProperty("费率")
    private BigDecimal feeRate;

    @ApiModelProperty("自保分入(分入保费)")
    private BigDecimal divideInGrossPremium;

    @ApiModelProperty("分期自保分入(分入保费)")
    private BigDecimal stageDivideInGrossPremium;

    @ApiModelProperty("分入手续费")
    private BigDecimal divideInCommission;

    @ApiModelProperty("分期分入手续费")
    private BigDecimal stageDivideInCommission;

    @ApiModelProperty("自保净分入")
    private BigDecimal divideInNetPremium;

    @ApiModelProperty("分期自保净分入")
    private BigDecimal stageDivideInNetPremium;

    @ApiModelProperty("自保分出(分出保费)")
    private BigDecimal divideOutGrossPremium;

    @ApiModelProperty("分期自保分出(分出保费)")
    private BigDecimal stageDivideOutGrossPremium;

    @ApiModelProperty("自保净自留")
    private BigDecimal netSelfShare;

    @ApiModelProperty("净自留占原保费比例")
    private BigDecimal netSelfShareRate;

    @ApiModelProperty("排序字段")
    private Integer sort;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
